package com.jof.framework.hmc.domain;

import java.io.Serializable;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * @author shanjing
 * 短信信息
 */
@XStreamAlias("in")
public class SMS implements Serializable {

	private static final long serialVersionUID = 8621751137875724820L;

	/**
	 * 短信唯一编码：用户随机生成
	 */
	@XStreamAlias("MsgCode")
	private String msgCode;

	/**
	 * 收信人手机号码
	 */
	@XStreamAlias("PhoneNum")
	private String phoneNum;

	/**
	 * 短信内容
	 */
	@XStreamAlias("MsgContnet")
	private String msgContent;

	/**
	 * 内部编码：默认值为"HOP"
	 */
	@XStreamAlias("Department")
	private String department = "HOP";

	public String getMsgCode() {
		return msgCode;
	}

	public void setMsgCode(String msgCode) {
		this.msgCode = msgCode;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getMsgContent() {
		return msgContent;
	}

	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	
	public String toString() {
		return "SMS [msgCode=" + msgCode + ", phoneNum=" + phoneNum + ", msgContent=" + msgContent + ", department="
				+ department + "]";
	}

}
